﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("Userinfor")]
    public class Userinfor
    {
        [Key]
        public int UserId { get; set; }
        public int HoteId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime UserTime { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int UserAge { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string UserImg { get; set; }
        /// <summary>
        /// 是否入职成功
        /// </summary>
        public bool UserRuzhi { get; set; }
        /// <summary>
        /// 状态(外)
        /// </summary>
        public string HoteName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int UserXbie { get; set; }
    }
}
